package com.eric.service;
import cn.dev33.satoken.util.SaResult;
import com.eric.domain.bso.SysMenuBso;
import com.eric.domain.po.SysMenu;
import com.github.yulichang.base.MPJBaseService;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 菜单表 服务类
 * </p>
 *
 * @author 新哥
 * @since 2024-03-12
 */
public interface ISysMenuService extends MPJBaseService<SysMenu> {

    SaResult getAllMenusService();

    SaResult saveOneService(SysMenuBso menuBso, MultipartFile icoPathFile, HttpServletRequest request);

    SaResult getChoseMenuListService(Integer pid,Integer level);

    SaResult getAllLineService(Integer current, Integer pageSize);

    SaResult getChildrenService(Integer pid);

    SaResult modifyOneService(SysMenuBso menuBso, MultipartFile icoPathFile, HttpServletRequest request);

    SaResult deleteOneByIdService(Integer id);

    SaResult getTreeMenuByIdService(Integer id);

    SaResult getBaseMenuService();
}
